//
//  Player.h
//  SportsApp
//
//  Created by Stephen Wiens on 2012-11-13.
//

#import <Foundation/Foundation.h>

//int const Seasons = 6;
//int const GamesInSeason = 82;
    //@"date,team,o:team,%@:number,%@:points,%@:goals,%@:assists,%@:position,%@:penalty minutes,%@:plus minus,%@:power play goals,%@:shots on goal@%@:p:points>=0"
@interface Player : NSObject
{
    int hashkey;
    NSString *Name;
    int JerseyNumber;
    NSString *Position;
    NSMutableArray *Games;
    int totalgames;
}
-(Player*)PersonWithName:(NSString *)theName andJerseyNumber:(int)theJerseyNumber andPosition:(NSString *)thePosition;

-(BOOL)CreateGame:(NSString *)thedate Andteam:(NSString *)theteam Andopponent:(NSString *)theopponent Andpoints:(int)thepoints Andgoals:(int)thegoals Andassists:(int)theassists AndPIM:(int)thePIM Andplus_minus:(int)theplus_minus Andpowerplay:(int)thepowerplay AndSOG:(int)theSOG;
-(int)HashKey:(NSString *)theName;

@end
